package com.open.party.cloud.model.task;

import com.open.party.cloud.model.DictionaryBean;

import java.util.Date;

/**
 * {
 * "createTime": "",
 * "createUser": 0,
 * "description": "",
 * "endTime": "",
 * "id": 0,
 * "maxTime": "",
 * "minTime": "",
 * "rate": 0,
 * "startTime": "",
 * "status": {
 * "code": "YWC",
 * "desc": ""
 * },
 * "title": "",
 * "updateTime": "",
 * "updateUser": 0,
 * "urgencyType": {
 * "code": "PT",
 * "desc": ""
 * },
 * "userId": 0,
 * "userName": ""* 			}
 */

/**
 * 我的任务entity
 */
public class MineTaskEntity {

    // 任务id
    private String id;
    // 任务标题
    private String title;
    // 任务描述
    private String description;
    // 任务开始时间
    private Date startTime;
    // 任务时间开始时间
    private Date minTime;
    // 任务结束时间
    private Date endTime;
    // 任务实际结束时间
    private Date maxTime;
    // 任务完成百分比
    private int rate;
    // 负责人
    private String userName;
    // 任务紧急程度
    private DictionaryBean urgencyType;
    // 任务状态
    private DictionaryBean state;

    private String backDesc;
    private String pushUserName;
    private String pushDeptName;
    private String pushOrgName;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getMinTime() {
        return minTime;
    }

    public void setMinTime(Date minTime) {
        this.minTime = minTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getMaxTime() {
        return maxTime;
    }

    public void setMaxTime(Date maxTime) {
        this.maxTime = maxTime;
    }

    public int getRate() {
        return rate;
    }

    public void setRate(int rate) {
        this.rate = rate;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public DictionaryBean getUrgencyType() {
        return urgencyType;
    }

    public void setUrgencyType(DictionaryBean urgencyType) {
        this.urgencyType = urgencyType;
    }

    public DictionaryBean getState() {
        return state;
    }

    public void setState(DictionaryBean state) {
        this.state = state;
    }

    public String getBackDesc() {
        return backDesc;
    }

    public void setBackDesc(String backDesc) {
        this.backDesc = backDesc;
    }

    public String getPushUserName() {
        return pushUserName;
    }

    public void setPushUserName(String pushUserName) {
        this.pushUserName = pushUserName;
    }

    public String getPushDeptName() {
        return pushDeptName;
    }

    public void setPushDeptName(String pushDeptName) {
        this.pushDeptName = pushDeptName;
    }

    public String getPushOrgName() {
        return pushOrgName;
    }

    public void setPushOrgName(String pushOrgName) {
        this.pushOrgName = pushOrgName;
    }
}
